﻿@{
    ViewBag.Title = "车辆管理";
    Layout = "~/Views/Shared/_BootstrapUI.cshtml";
}

<div class="login-form">

    <div class="login-content" id="form" style="width:50%;margin-left:25%">

        <div class="form-group">
            <div class="input-group" style="width:100%">
                <div class="input-group-addon" style="width:131px;text-align:right">
                    <i class="fa">车主</i>
                </div>
                <input type="text" class="form-control" name="carowner" id="carowner" placeholder="请填写车主" autocomplete="off" />
            </div>
        </div>
        <div class="form-group">
            <div class="input-group" style="width:100%">
                <div class="input-group-addon" style="width:131px;text-align:right">
                    <i class="fa">车型</i>
                </div>
                <select type="text" class="form-control" name="carmodel" id="carmodel" placeholder="请填写车型" autocomplete="off">
                    @{
                        var list = new FZKJ.BLL.sys_dict().GetModelList(" value='carmodel'");
                        if (list.Count > 0)
                        {
                            var childrens = new FZKJ.BLL.sys_dict().GetModelList(" pid=" + list[0].id);
                            foreach (var item in childrens)
                            {
                                <option value="@item.value">@item.value</option>
                            }
                        }
                    }
                </select>
            </div>
        </div>
        <div class="form-group">
            <div class="input-group" style="width:100%">
                <div class="input-group-addon" style="width:131px;text-align:right">
                    <i class="fa">车牌</i>
                </div>
                <input type="text" class="form-control" name="licenseplate" id="licenseplate" placeholder="请填写车牌" autocomplete="off" />
            </div>
        </div>

        <div class="form-group">
            <div class="input-group" style="width:100%">
                <div class="input-group-addon" style="width:131px;text-align:right">
                    <i class="fa">车架号</i>
                </div>
                <input type="text" class="form-control" name="drivingnumber" id="drivingnumber" placeholder="请填写车架号" autocomplete="off" />
            </div>
        </div>

        <div class="form-group">
            <div class="input-group" style="width:100%">
                <div class="input-group-addon" style="width:131px;text-align:right">
                    <i class="fa">发动机号</i>
                </div>
                <input type="text" class="form-control" name="enginenumber" id="enginenumber" placeholder="请填写发动机号" autocomplete="off" />
            </div>
        </div>
        <div class="form-group">
            <div class="input-group" style="width:100%">
                <div class="input-group-addon" style="width:131px;text-align:right">
                    <i class="fa">座位数</i>
                </div>
                <input type="text" class="form-control" name="pedestal" id="pedestal" placeholder="请填写座位数" autocomplete="off" />
            </div>
        </div>
        <div class="form-group">
            <div class="input-group" style="width:100%">
                <div class="input-group-addon" style="width:131px;text-align:right">
                    <i class="fa">手机号</i>
                </div>
                <input type="text" class="form-control" name="mobile" id="mobile" placeholder="请填写手机号" autocomplete="off" />
            </div>
        </div>

        <div class="form-group">
            <button class="btn btn-primary btn-block btn-login" id="activity" style="width:25%;float:right">
                <i class="fa fa-sign-in"></i>
                激活
            </button>
        </div>
    </div>
</div>
<script src="~/Pscripts/RescueCard/Car.js?v=@DateTime.Now.ToString("yyyyMMddHHmmssfff")"></script>